//
//  AppApiConstants.h
//  AppsTemplate
//  配置项目接口连接的位置
//  Created by Leon on 8/1/14.
//  Copyright (c) 2014 Leon. All rights reserved.
//

#ifndef AppsTemplate_AppApiConstants_h
#define AppsTemplate_AppApiConstants_h
 

//需要换成一致的开头...
#define baseUrl @"http://116.62.120.179:82/"


/**
 *  数据接口
 */
//***********************************************用户************************************
//短信验证码
#define api_get_validate_code @"uc/getMsgCode"

// 注册接口
#define api_user_register @"uc/signup"

//保存用户昵称
#define api_user_editUserNickName @"uc/editUserNickName"

//登录
#define api_user_login @"uc/doLogin"

//找回密码验证
#define api_user_doFindUser @"uc/doFindUser"


//获得收款账户地址列表(须登录)
#define api_user_getPaymentAddressList @"uc/getPaymentAddressList"
//增加收款地址
#define api_user_addPaymentAddress @"uc/addPaymentAddress"

//获取收币地址(BTC =3，ETH=4)
#define api_user_getCoinAddressList @"uc/getCoinAddressList"

//新增收币地址
#define api_user_addCoinAddress @"uc/addCoinAddress"

//***********************************************中介************************************

//登录
#define api_ic_login @"ic/doLogin"

/**
 *  服务器返回结果code
 *
 */
#define error_UserName @"following error occurred during login: User not found."
#define error_UserPassword @"following error occurred during login: Password incorrect."
#define request_success  1            //成功
#define error_fail -1                 //参数错误
#define error_serverfault -2         //服务器错误
#define error_sent -3                 //已经发送过
#define error_lose -4                 //验证码过期
#define error_phoneNoExist -5         //手机号已被注册
#define error_pwd -6                  //登陆名或密码有误
#define error_user_already_Exist -7          //用户不存在
#define error_companyName -8          //公司名不合理
#define error_customExist -10              //客户已存在
#define error_validata -12            //验证码错误
#define error_passwordd -4   //登陆名或密码有误
#define error_phoneNotExist -5   //登陆名或密码有误
#define error_resetPassword -3   //需要更新密码
#define error_not_valid  -9 


#endif
